{{include file="user/u_header.html"}}
<script type="text/javascript" src="res/js/geo_selection.js"></script>
<script type="text/javascript" src="res/js/lhgcalendar/lhgcalendar.min.js"></script>
<script type="text/javascript">
$(function(){ 
	geoSelection.firstGeoLevel = 1;
	geoSelection.lastGeolevel = 5;
	geoSelection.geoInputName = "geo_code";
	geoSelection.geoLayerId = "geo_selection";
	//geoSelection.initSelected(initGeoCode);
	geoSelection.initGeoSelection('{{$userItem.info.GEO_CODE}}'); 


    $('#BIRTHDAY').calendar();
});
</script>
<div class="w998 u_main">
	{{include file="user/u_leftMenu.html"}}
	<div class="Fr right">
		<div class="u_where">您当前位置：会员中心 &gt;&gt; 个人中心 &gt;&gt; 用户资料维护</div>
		<!--右侧开始-->
		<form id="form1" name="form1" method="post" action="user.php?{{$TIN_CTL}}=userinfo">
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tablecss1">
			<tr>
				<td>手机号码：</td>
				<td>{{$userItem.USERNAME}}</td>
			</tr>
			<tr>
				<td>用户类型：</td>
				<td>{{$userItem.userType.TYPE_NAME}}</td>
			</tr>
			<tr>
				<td>真实姓名：</td>
				<td>{{$userItem.info.REALNAME}} {{if $userItem.info.STAT_REAL==1}}(已实名){{else}}<a href="#">请认证实名</a>{{/if}}</td>
			</tr>
			<tr>
				<td>身份证号码：</td>
				<td>{{$userItem.info.IDCARD}} {{if $userItem.info.STAT_REAL==1}}(已实名){{else}}<a href="#">请认证实名</a>{{/if}}</td>
			</tr>
			<tr>

				<td>所在地：</td>
	            <td id="geo_selection">
	                <select name="geo_level1" id="geo_level1" style="width:70px"></select>
	                <select name="geo_level2" id="geo_level2" style="width:70px;display:none"></select>
	                <select name="geo_level3" id="geo_level3" style="width:70px;display:none"></select>
	                <select name="geo_level4" id="geo_level4" style="width:70px;display:none"></select>
	                <select name="geo_level5" id="geo_level5" style="width:70px;display:none"></select>
	                <input type="hidden" name="geo_code" id="geo_code" value="0" />
	            </td>
            </tr>
            <tr>

				<td>详细地址：</td>
				<td><input name="ADDRESS" id="ADDRESS" type="text" value="{{$userItem.info.ADDRESS}}" maxlength="50" style="width: 280px;"> 请填写门牌等信息，如：老街33号</td>
            </tr>
            <tr>

				<td>性别：</td>
				<td><input type="radio" name="SEX" value="1" {{if $userItem.info.SEX==1 || !$userItem.info.SEX}}checked="checked"{{/if}}>男&nbsp;&nbsp;
					<input type="radio" name="SEX" value="2" {{if $userItem.info.SEX==2}}checked="checked"{{/if}}>女 &nbsp;&nbsp;
                </td>
            </tr>
            <tr>
				<td>邮箱：</td>
				<td><input type="text" id="EMAIL" name="EMAIL" value="{{$userItem.info.EMAIL}}"></td>
            </tr>
            <tr>
				<td>QQ：</td>
				<td><input type="text" id="QQ" name="QQ" value="{{$userItem.info.QQ}}" maxlength="16"></td>
            </tr>
            <tr>
				<td>学历：</td>
				<td><select name="EDUCATION" id="EDUCATION">
						<option value="">=请选择=</option>
						<option value="高中或以下" {{if $userItem.info.EDUCATION=='高中或以下'}}selected="selected"{{/if}}>高中或以下</option>
						<option value="大专" {{if $userItem.info.EDUCATION=='大专'}}selected="selected"{{/if}}>大专</option>
						<option value="本科" {{if $userItem.info.EDUCATION=='本科'}}selected="selected"{{/if}}>本科</option>
						<option value="研究生或以上" {{if $userItem.info.EDUCATION=='研究生或以上'}}selected="selected"{{/if}}>研究生或以上</option>
					</select>
				</td>
            </tr>
            <tr>
				<td>出生日期：</td>
				<td>
				<input class="runcode" name="BIRTHDAY" id="BIRTHDAY" value="{{$userItem.info.BIRTHDAY}}" />
				</td>
            </tr>
            <tr>
				<td>婚姻状况：</td>
				<td>
					<input type="radio" class="f-radio" value="已婚" name="MARRY" {{if $userItem.info.MARRY=='已婚'}}checked="checked"{{/if}}> 已婚
					&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="radio" class="f-radio" value="未婚" name="MARRY" {{if $userItem.info.MARRY=='未婚' || !$userItem.info.MARRY}}checked="checked"{{/if}}> 未婚
					&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="radio" class="f-radio" value="离异" name="MARRY" {{if $userItem.info.MARRY=='离异'}}checked="checked"{{/if}}> 离异
					&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="radio" class="f-radio" value="丧偶" name="MARRY" {{if $userItem.info.MARRY=='丧偶'}}checked="checked"{{/if}}> 丧偶		
				</td>
            </tr>
            <tr>
				<td>有无子女：</td>
				<td>
					<input type="radio" class="f-radio" value="2" name="HASCHILD" {{if $userItem.info.HASCHILD=='2'}}checked="checked"{{/if}}> 有
					&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="radio" class="f-radio" value="1" name="HASCHILD" {{if $userItem.info.HASCHILD=='1'  || !$userItem.info.HASCHILD}}checked="checked"{{/if}}> 无
				</td>
            </tr>
            <tr>
				<td>亲属：</td>
				<td>
					直系亲属-姓名<input type="text" id="RELATIVE_NAME" name="RELATIVE_NAME" value="{{$userItem.info.RELATIVE.NAME}}">
					直系亲属-关系<input type="text" id="RELATIVE_SHIP" name="RELATIVE_SHIP" value="{{$userItem.info.RELATIVE.SHIP}}">
					直系亲属-电话<input type="text" id="RELATIVE_TEL" name="RELATIVE_TEL" value="{{$userItem.info.RELATIVE.TEL}}">
				</td>
            </tr>
            <tr>
				<td>单位名称：</td>
				<td>
					<input type="text" id="WORK_NAME" name="WORK_NAME" value="{{$userItem.info.WORK.NAME}}">
				</td>
            </tr>
            <tr>
				<td>公司行业：</td>
				<td>
					<select id="WORK_TYPE" name="WORK_TYPE">
						<option value="">请选择</option>
						<option value="1" {{if $userItem.info.WORK.TYPE=='1'}}selected="selected"{{/if}}>制造业</option>
						<option value="2" {{if $userItem.info.WORK.TYPE=='2'}}selected="selected"{{/if}}>IT</option>
						<option value="3" {{if $userItem.info.WORK.TYPE=='3'}}selected="selected"{{/if}}>政府机关</option>
						<option value="4" {{if $userItem.info.WORK.TYPE=='4'}}selected="selected"{{/if}}>媒体/广告</option>
						<option value="5" {{if $userItem.info.WORK.TYPE=='5'}}selected="selected"{{/if}}>零售/批发</option>
						<option value="6" {{if $userItem.info.WORK.TYPE=='6'}}selected="selected"{{/if}}>教育/培训</option>
						<option value="7" {{if $userItem.info.WORK.TYPE=='7'}}selected="selected"{{/if}}>公共事业</option>
						<option value="8" {{if $userItem.info.WORK.TYPE=='8'}}selected="selected"{{/if}}>交通运输业</option>
						<option value="9" {{if $userItem.info.WORK.TYPE=='9'}}selected="selected"{{/if}}>房地产业</option>
						<option value="10" {{if $userItem.info.WORK.TYPE=='10'}}selected="selected"{{/if}}>能源业</option>
						<option value="11" {{if $userItem.info.WORK.TYPE=='11'}}selected="selected"{{/if}}>金融/法律</option>
						<option value="12" {{if $userItem.info.WORK.TYPE=='12'}}selected="selected"{{/if}}>餐饮/旅馆业</option>
						<option value="13" {{if $userItem.info.WORK.TYPE=='14'}}selected="selected"{{/if}}>医疗/卫生/保健</option>
						<option value="14" {{if $userItem.info.WORK.TYPE=='14'}}selected="selected"{{/if}}>建筑工程</option>
						<option value="15" {{if $userItem.info.WORK.TYPE=='15'}}selected="selected"{{/if}}>农业</option>
						<option value="16" {{if $userItem.info.WORK.TYPE=='16'}}selected="selected"{{/if}}>娱乐服务业</option>
						<option value="17" {{if $userItem.info.WORK.TYPE=='17'}}selected="selected"{{/if}}>体育/艺术</option>
						<option value="18" {{if $userItem.info.WORK.TYPE=='18'}}selected="selected"{{/if}}>公益组织</option>
						<option value="19" {{if $userItem.info.WORK.TYPE=='19'}}selected="selected"{{/if}}>其它</option>
					</select>
				</td>
            </tr>
            <tr>
				<td>公司规模：</td>
				<td>
					<select id="WORK_SIZE" name="WORK_SIZE">
						<option value="">请选择</option>
						<option value="1" {{if $userItem.info.WORK.SIZE=='1'}}selected="selected"{{/if}}>10人以下</option>
						<option value="2" {{if $userItem.info.WORK.SIZE=='2'}}selected="selected"{{/if}}>10-100人</option>
						<option value="3" {{if $userItem.info.WORK.SIZE=='3'}}selected="selected"{{/if}}>100-500人</option>
						<option value="4" {{if $userItem.info.WORK.SIZE=='4'}}selected="selected"{{/if}}>500人以上</option>
					</select>
				</td>
            </tr>
            <tr>
				<td>职业状况：</td>
				<td>
					<select id="WORK_STATE" name="WORK_STATE">
						<option value="">请选择</option>
						<option value="1"  {{if $userItem.info.WORK.STATE=='1'}}selected="selected"{{/if}}>工薪阶层</option>
						<option value="2"  {{if $userItem.info.WORK.STATE=='2'}}selected="selected"{{/if}}>企业老板</option>
						<option value="3"  {{if $userItem.info.WORK.STATE=='3'}}selected="selected"{{/if}}>个体经营</option>
						<option value="4"  {{if $userItem.info.WORK.STATE=='4'}}selected="selected"{{/if}}>其他</option>
					</select>
				</td>
            </tr>
            <tr>
				<td>职位：</td>
				<td>
					<input type="text" id="WORK_JOB" name="WORK_JOB" value="{{$userItem.info.WORK.JOB}}">
				</td>
            </tr>
            <tr>
				<td>月收入：</td>
				<td>
					<select id="WORK_MONEY" name="WORK_MONEY">
						<option value="">请选择</option>
						<option value="1" {{if $userItem.info.WORK.MONEY=='1'}}selected="selected"{{/if}}>1000元以下</option>
						<option value="2" {{if $userItem.info.WORK.MONEY=='2'}}selected="selected"{{/if}}>1001-2000元</option>
						<option value="3" {{if $userItem.info.WORK.MONEY=='3'}}selected="selected"{{/if}}>2001-5000元</option>
						<option value="4" {{if $userItem.info.WORK.MONEY=='4'}}selected="selected"{{/if}}>5001-10000元</option>
						<option value="5" {{if $userItem.info.WORK.MONEY=='5'}}selected="selected"{{/if}}>10001-20000元</option>
						<option value="6" {{if $userItem.info.WORK.MONEY=='6'}}selected="selected"{{/if}}>20001-50000元</option>
						<option value="7" {{if $userItem.info.WORK.MONEY=='7'}}selected="selected"{{/if}}>50000元以上</option>
					</select>
				</td>
            </tr>
            <tr>
				<td>是否有房：</td>
				<td>
					<input type="radio" class="f-radio" value="2" name="HOUSE" {{if $userItem.info.ASSET.HOUSE=='2'}}checked="checked"{{/if}}> 有
					&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="radio" class="f-radio" value="1" name="HOUSE" {{if $userItem.info.ASSET.HOUSE=='1'  || !$userItem.info.ASSET.HOUSE}}checked="checked"{{/if}}> 无
				</td>
            </tr>
            <tr>
				<td>有无房贷：</td>
				<td>
					<input type="radio" class="f-radio" value="2" name="HOUSE_DEAL" {{if $userItem.info.ASSET.HOUSE_DEAL=='2'}}checked="checked"{{/if}}> 有
					&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="radio" class="f-radio" value="1" name="HOUSE_DEAL" {{if $userItem.info.ASSET.HOUSE_DEAL=='1' || !$userItem.info.ASSET.HOUSE_DEAL}}checked="checked"{{/if}}> 无
				</td>
            </tr>
            <tr>
				<td>是否有车：</td>
				<td>
					<input type="radio" class="f-radio" value="2" name="CAR" {{if $userItem.info.ASSET.CAR=='2'}}checked="checked"{{/if}}> 有
					&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="radio" class="f-radio" value="1" name="CAR" {{if $userItem.info.ASSET.CAR=='1' || !$userItem.info.ASSET.CAR}}checked="checked"{{/if}}> 无
				</td>
            </tr>
            <tr>
				<td>有无车贷：</td>
				<td>
					<input type="radio" class="f-radio" value="2" name="CAR_DEAL"  {{if $userItem.info.ASSET.CAR_DEAL=='2'}}checked="checked"{{/if}}> 有
					&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="radio" class="f-radio" value="1" name="CAR_DEAL"  {{if $userItem.info.ASSET.CAR_DEAL=='1' || !$userItem.info.ASSET.CAR_DEAL}}checked="checked"{{/if}}> 无
				</td>
            </tr>
            <tr>
				<td>车牌：</td>
				<td>
					<input type="text" id="CAR_ID" name="CAR_ID" value="{{$userItem.info.ASSET.CAR_ID}}">
				</td>
            </tr>
		</table>
		<div style="text-align:center; margin-top:10px">
			<input type="submit" name="btnsubmit" id="btnsubmit" value="提交修改" class="btnbj btn_red">
		</div>	
		</form>	
		<!--右侧结束-->
	</div>
</div>
<div class="spacer"></div>
{{include file="user/u_footer.html"}}
